home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcppal.arc
/
PHOENIX.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-01-01
|
4KB
|
159 lines
CLEAR
LOCATE 1,0
TRANSMIT "C DIAL"
TRANSMIT S2
TRANSMIT "/"
TRANSMIT S9
TRANSMIT ","
TRANSMIT S8
TRANSMIT "!"
WAITFOR "="
TRANSMIT S7
TRANSMIT "!"
CLEAR
RGET S5
RGET S5
LOCATE 1,0
RGET S5
PAUSE 1
FIND S5 "CONNECT"
IF NOT FOUND
CLEAR
LOCATE 1,0
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE MAIN MENU"
PAUSE 2
CLEAR
LOCATE 1,0
EXECUTE "INTRO.CMD"
ENDIF
BEGIN:
CLEAR
LOCATE 4,0
MESSAGE " ╔══╡ PHOENIX BBS NUMBERS ╞══╗"
MESSAGE " ║ ║"
MESSAGE " ║ 1 - Technoids Annonymous ║"
MESSAGE " ║ 2 - ASU ACS BBS ║"
MESSAGE " ║ 3 - Phoenix Club BBS ║"
MESSAGE " ║ 4 - Bigfoot BBS ║"
MESSAGE " ║ 5 - Voyager ║"
MESSAGE " ║ 6 - Microsystems ║"
MESSAGE " ║ M - Manual Dial ║"
MESSAGE " ║ Q - Return to MAIN menu ║"
MESSAGE " ║ ║"
MESSAGE " ╠═══════════════════════════╣"
MESSAGE " ║ ENTER THE # OF THE BBS OF ║"
MESSAGE " ║ YOUR CHOICE: ║"
MESSAGE " ╚═══════════════════════════╝"
LOCATE 17,40
MESSAGE " "
LOCATE 17,40
GET S5 1
SWITCH S5
CASE "1"
ASSIGN S3 "Technoids Annonymous"
ASSIGN S4 "8994876"
ENDCASE
CASE "2"
ASSIGN S3 "ASU ACS BBS"
ASSIGN S4 "9655670"
ENDCASE
CASE "3"
ASSIGN S3 "Phoenix Club"
ASSIGN S4 "4372840"
ENDCASE
CASE "4"
ASSIGN S3 "Bigfoot BBS"
ASSIGN S4 "8867943"
ENDCASE
CASE "5"
ASSIGN S3 "Voyager"
ASSIGN S4 "2476034"
ENDCASE
CASE "6"
ASSIGN S3 "Microsystems"
ASSIGN S4 "9384508"
ENDCASE
CASE "M"
CLEAR
LOCATE 5,20
MESSAGE "NUMBER TO DIAL:"
LOCATE 5,36
ASSIGN S3 "MANUAL DIAL"
GET S4
ENDCASE
CASE "Q"
CLEAR
TRANSMIT "!@!"
WAITFOR "@"
TRANSMIT "D!"
WAITFOR "@"
CLEAR
LOCATE 1,0
PAUSE 1
EXECUTE "INTRO.CMD"
ENDCASE
DEFAULT
MESSAGE "^G"
LOCATE 17,40
GOTO BEGIN
ENDCASE
ENDSWITCH
CLEAR
LOCATE 1,0
MESSAGE "CONNECTED TO PCP"
MESSAGE S1
MESSAGE "DIALING"
MESSAGE S3
TRANSMIT "ATZ!"
WAITFOR "OK" 10
TRANSMIT "ATDT"
TRANSMIT S4
TRANSMIT "!"
RGET S0
RGET S0 80 40
RGET S0
PAUSE 2
FIND S0 "BUSY"
IF FOUND
CLEAR
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE CITY MENU"
PAUSE 2
CLEAR
LOCATE 1,0
GOTO BEGIN
ENDIF
FIND S0 "CONNECT"
IF FOUND
SET PARITY NONE
SET DATABITS 8
ELSE
CLEAR
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE CITY MENU"
PAUSE 2
CLEAR
LOCATE 1,0
GOTO BEGIN
ENDIF
ALARM 1
EXIT